/*
* @fileName: login
* @author: LG
* @date: 2020/11/27 12:57
* @description：login
* @update: 2020/11/27 12:57
*/
body {
  //   width: 100%;
  height: 100vh;
  background: url("../../images/login/indexBGC.gif") no-repeat center;
  background-size: 100% 100%;
}

/* header 头部制作 */
.header {
  position: relative;
  height: 105px;
  .logo {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    width: 171px;
    height: 61px;
    z-index: 5;
    a {
      display: block;
      width: 171px;
      height: 61px;
      background: url("../../images/logo.png") no-repeat;
      background-size: cover;
      /* font-size: 0;京东的做法*/
      /* 淘宝的做法让文字隐藏 */
      text-indent: -9999px;
      overflow: hidden;
    }
  }
  &::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.2;
  }
}
// 登录框
.login_panel {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translate(-15%, -50%);
  width: 420px;
  height: 450px;
  &::before {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 11px 15px rgba(255, 255, 255, 0.5);
    opacity: 0.4;
  }
  .form_info {
    position: absolute;
    z-index: 30;
    width: 330px;
    height: 400px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 0;
    h2 {
      font-size: 25px;
      font-weight: 500;
      text-align: center;
    }
    p {
      margin-top: 25px;
      & > svg {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
      }
      button {
        cursor: pointer;
        margin-top: 50px;
        width: 100%;
        height: 40px;
        background: linear-gradient(#33c9ff, #6680ff);
        border: none;
        border-radius: 20px;
        color: #fff;
        font-size: 17px;
      }
    }
    .login-text,
    .login-password {
      height: 40px;
      padding-left: 10px;
      background-color: rgba(255, 255, 255, 0.5);
      border: 1px solid;
      border-radius: 5px;
      width: 263px;
    }
    .rempass {
      display: flex;
      justify-content: space-between;
      align-items: center;
      div {
        flex: 1;
      }
    }
    .login-bom {
      text-align: center;
      a {
        font-size: 20px;
        font-weight: 300;
        span {
          border-bottom: 1px solid;
        }
      }
    }
  }
}
